import request from '@/utils/request'
/**@description 查询front_account列表 */
export function listAccount(query) {
  return request({
    url: '/system/account/list',
    method: 'get',
    params: query
  })
}
/**@description 查询front_account详细 */
export function getAccount(id) {
  return request({
    url: '/system/account/' + id,
    method: 'get'
  })
}
/**@description 新增front_account */
export function addAccount(data) {
  return request({
    url: '/system/account',
    method: 'post',
    data: data
  })
}
/**@description 修改front_account */
export function updateAccount(data) {
  return request({
    url: '/system/account',
    method: 'put',
    data: data
  })
}
/**@description 删除front_account */
export function delAccount(id) {
  return request({
    url: '/system/account/' + id,
    method: 'delete'
  })
}
